package pojo;

public class Dept {
    private int id;
    private String name;
    private String dp;

    public Dept() {
    }

    public Dept(String name, String dp) {
        this.name = name;
        this.dp =dp;
    }

    public Dept(int id, String name, String dp) {
        this.id = id;
        this.name = name;
        this.dp = dp;
    }

    // getter and setter
    // alt+insert
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDp() {return dp;}

    public void setDp(String dp) {
        this.dp = dp;
    }
}
